package com.aurora.oa.model;

import com.aurora.oa.listener.OnAddContactsGroupListener;
import com.aurora.oa.listener.OnAddGroupMemberListener;
import com.aurora.oa.listener.OnAddTeamListener;
import com.aurora.oa.listener.OnAddTeamMemberListener;
import com.aurora.oa.listener.OnGetApproveDetailListener;
import com.aurora.oa.listener.OnGetMyContactsGroupListListener;
import com.aurora.oa.listener.OnGetMyContactsListListener;
import com.aurora.oa.listener.OnGetMyTeamListListener;
import com.aurora.oa.listener.OnGetMyTeamMemberListListener;
import com.aurora.oa.listener.OnGetUserInfoListener;
import com.aurora.oa.listener.OnRequestApplyListListener;
import com.aurora.oa.listener.OnRequestApproveListListener;
import com.aurora.oa.listener.OnRequestArticalDetailListener;
import com.aurora.oa.listener.OnRequestAttendancePersonListener;
import com.aurora.oa.listener.OnRequestCarHistoryListener;
import com.aurora.oa.listener.OnRequestCarListListener;
import com.aurora.oa.listener.OnRequestCompanyStructureDataListener;
import com.aurora.oa.listener.OnRequestContactsDataListener;
import com.aurora.oa.listener.OnRequestDailyDataListener;
import com.aurora.oa.listener.OnRequestExpenceDetailListener;
import com.aurora.oa.listener.OnRequestFileListListener;
import com.aurora.oa.listener.OnRequestHttpDataListener;
import com.aurora.oa.listener.OnLoginListener;
import com.aurora.oa.listener.OnRequestIsSuccessListener;
import com.aurora.oa.listener.OnRequestLogDetailListener;
import com.aurora.oa.listener.OnRequestLogListDataListener;
import com.aurora.oa.listener.OnRequestNoticeDetailListener;
import com.aurora.oa.listener.OnRequestNoticeListListener;
import com.aurora.oa.listener.OnRequestPatrolShopListListener;
import com.aurora.oa.listener.OnRequestPatrollogDetailListener;
import com.aurora.oa.listener.OnRequestPatrollogListListener;
import com.aurora.oa.listener.OnRequestTrackHistoryListener;
import com.aurora.oa.listener.OnSendLogListener;
import com.aurora.oa.listener.OnSendPatrollogListener;
import com.aurora.oa.listener.OnUploadAttachmentListener;
import com.aurora.oa.listener.OnUploadFeedbackListener;
import com.aurora.oa.work.bean.SendLogBean;
import com.aurora.oa.work.bean.SendPatrollogBean;

import java.io.File;
import java.util.Map;

/**
 * Created by Administrator on 2017/3/17 0017.
 */
public interface RequestHttpModel {
    void doLogin(String userName, String passWord,OnLoginListener onLoginListener);
    void sendWorkLog(SendLogBean logData, OnSendLogListener onSendLogListener);
    void requestHttpDataString(String url,OnRequestHttpDataListener onRequestHttpDataListener);
    void postFile(String url, File file,OnRequestHttpDataListener onRequestHttpDataListener);
    void postForm(String Url, Map<String, String> params, OnRequestHttpDataListener onRequestHttpDataListener);
    void uploadAttachment(File file, OnUploadAttachmentListener onUploadAttachmentListener);
    void getCompanyStructureData(OnRequestCompanyStructureDataListener onRequestCompanyStructureDataListener);
    void getMySendWorkLogByDay(String day,OnRequestLogListDataListener onRequestLogListDataListener);
    void getMyReceiveWorkLog(OnRequestLogListDataListener onRequestLogListDataListener);
    void getApplyMainUIData(OnRequestHttpDataListener listener);
    void getNoticeListData(int whitchPage,OnRequestNoticeListListener onRequestNoticeListListener);
    void getNoticeDetail(String id,OnRequestNoticeDetailListener onRequestNoticeDetailListener);
    void getLogDetail(String id, OnRequestLogDetailListener onRequestLogDetailListener);
    void getExpenceDetail(String id, OnRequestExpenceDetailListener onRequestExpenceDetailListener);
    void getApproveListData(int whitchPage, int type, OnRequestApproveListListener onRequestApproveListListener);
    void getApproveDetail(String id, OnGetApproveDetailListener onGetApproveDetailListener);
    void doApproveTransfer(String id, String transferIds, OnRequestHttpDataListener onRequestHttpDataListener);
    void doApproveAgree(String id, int i, OnRequestHttpDataListener onRequestHttpDataListener);
    void doApproveDeni(String id, int i, OnRequestHttpDataListener onRequestHttpDataListener);
    void doApproveComment(String id, String content, OnRequestHttpDataListener onRequestHttpDataListener);
    void getDailyData(OnRequestDailyDataListener onRequestDailyDataListener);
    void getAttendancePerson(OnRequestAttendancePersonListener onRequestHttpDataListener);
    void getUserMonthData(String userId, String currentDate, OnRequestHttpDataListener onRequestHttpDataListener);
    void getApplyListData(int whitchPage, OnRequestApplyListListener onRequestApplyListListener);
    void getCarListData(int whitchPage, OnRequestCarListListener onRequestCarListListener);
    void getPatrollogListData(String month_date, OnRequestPatrollogListListener onRequestPatrollogListListener);
    void getPatrollogDetail(String id, OnRequestPatrollogDetailListener onRequestPatrollogDetailListener);
    void sendPatrollog(SendPatrollogBean logData, OnSendPatrollogListener onSendPatrollogListener);
    void getPatrolShopListData(OnRequestPatrolShopListListener onRequestPatrolShopListListener);
    void getPatrollogListByShopAndDay(String shopid, String currentDate, OnRequestPatrollogListListener onRequestPatrollogListListener);
    void doAddTeam(String teamName, OnAddTeamListener onAddTeamListener);
    void doAddContactsGroup(String contactsName, OnAddContactsGroupListener onAddContactsGroupListener);
    void getMyTeamList(OnGetMyTeamListListener onGetMyTeamListListener);
    void getMyContactsGroupList(OnGetMyContactsGroupListListener onGetMyContactsGroupListListener);
    void getMyTeamMemBerList(String teamID,OnGetMyTeamMemberListListener onGetMyTeamMemberListListener);
    void getMyContactsList(String contactsGroupID,OnGetMyContactsListListener onGetMyContactsListListener);
    void doAddTeamMember(String id, String userids, OnAddTeamMemberListener onAddTeamMemberListener);
    void doAddGroupMember(String id, String userids, OnAddGroupMemberListener onAddGroupMemberListener);
    void getUserInfo(String id, OnGetUserInfoListener onGetUserInfoListener);
    void doHeadUpload(String attachId, OnRequestHttpDataListener onRequestHttpDataListener);
    void doUpdateUserInfo(Map<String, String> param, OnRequestIsSuccessListener onRequestIsSuccessListener);
    void getApplyCarHistoryData(int whitchPage, OnRequestCarHistoryListener onRequestCarHistoryListener);
    void getTrackHistoryData(String whitchPage, OnRequestTrackHistoryListener onRequestTrackHistoryListener);
    void doSignComment(String id, String input, OnRequestIsSuccessListener onRequestIsSuccessListener);
    void getFileListData(int whitchPage, OnRequestFileListListener onRequestFileListListener);
    void doSendFeedback(String title, String content, String attachmentids, OnUploadFeedbackListener listener);
    void getArticalDetail(String id, OnRequestArticalDetailListener onRequestArticalDetailListener);
}
